package cn.brian.framework.datasource;

/**
 * @author huangjinghua
 * @date 2020/6/4 15:48
 */
public class KylinDialect extends Dialect {
    protected static final String SQL_END_DELIMITER = ";";

    public String getLimitString(String sql, boolean hasOffset) {
        return KylinPageHepler.getLimitString(sql, -1, -1);
    }

    @Override
    public String getLimitString(String sql, int offset, int limit) {
        return KylinPageHepler.getLimitString(sql, offset, limit);
    }

    @Override
    public boolean supportsLimit() {
        return true;
    }
}
